//
//  AIPViewController.h
//  FMS
//
//  Created by Steven on 10/15/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AIPViewController : UIViewController <UITableViewDataSource,UITableViewDelegate> {
    NSDictionary *dictLanguage;
    NSMutableArray *mainArray;
    int itemType;
    
    int indexSchedule;
    BOOL isLoadMore;
    
    BOOL didReadyLoadMore;
    
    UIActivityIndicatorView *myActivityView;
}

@property (strong, nonatomic) IBOutlet UITableView *mainTableView;
@property (strong, nonatomic) IBOutlet UILabel *lbType;
@property (strong, nonatomic) IBOutlet UILabel *lbStartDate;
@property (weak, nonatomic) IBOutlet UILabel *lblTitleLastDone;
@property (weak, nonatomic) IBOutlet UILabel *lblTitleFrequency;

@property (retain, nonatomic) NSMutableDictionary *itemDetailedDict;

@property (unsafe_unretained) id delegate;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil itemType:(int)_itemType;

- (void)reloadListSchedule;
- (NSMutableDictionary *)getFirstItem;
@end
